package com.copa.gamestore.module.gameNews.application;

import com.copa.gamestore.common.response.ResponseVo;
import com.copa.gamestore.module.gameNews.domain.GameNews;
import com.copa.gamestore.module.gameNews.domain.dto.GameNewsSearchDto;
import com.copa.gamestore.module.gameNews.domain.vo.GameNewsDetailVo;

import java.time.LocalDate;
import java.util.List;
import java.util.TreeMap;

/**
 * @author copa
 * @createDate 2022-09-25 21:28
 * @function
 */
public interface GameNewsApplicationService {

    void gameNewsTask();

    ResponseVo<GameNewsDetailVo> get(Long id);

    ResponseVo<TreeMap<LocalDate,List<GameNews>>> getByYearMonth(GameNewsSearchDto gameNewsSearchDto);
}
